package com.pcbly.web.bean.crm;

import java.util.Date;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.AbstractBaseBean;

public class XsdBean  extends AbstractBaseBean{
	
/**
	 * 
	 */
	private static final long serialVersionUID = -8430204489038910016L;
//	private String creatdate;  //创建时间
	private String fzr;        //负责人（经手人）
	private String clientName;//客户编号
	private String sklx;       //收款类型（现金、账期）
	private String skfs;       //收款方式（现金、刷卡、转账等）
	private String posId;     //刷卡POS机编号
	private String state;      //状态（已保存、已提交、已出库）	
	private double yhje;       //优惠金额（无效）
	private double xsdje;      //销售单金额
	private double xsdcbj;     //销售单成本价
	private double skje;       //收款金额
	private String skzh;       //收款账户	
	private String skxs;       //未收、部分已收、已收	
	private Date skrq;       //收款日期
	private Date ysrq;       //应收日期	 
	private String ms;         //描述（备注）
	private String czr;        //操作人	
	private String khAddress; //客户地址
	private String khLxr;     //客户联系人
	private String khLxdh;    //客户联系电话	
	
	private String storeId;   //出货库房
	private String ckJsr;     //出库经手人
	private Date ckDate;
	
	
	private String ysfs;       //运输方式	
	private double xjd = 0;       //现金点
	private double ysje = 0;      //预收金额
	private int zq = 0;            //账期
	private double sjcjje = 0;  //实际成交金额
	private String thFlag;     //退回标志（0：正常；1：库房退回
	private Date czDate;     //操作时间
	private double xsdkhcb;     //销售单考核成本	
	
	private String spState = "0"; //审批状态  0：自动审批；1：需审批；2：待审批；3：审批通过；4：审批不通过
	private String spType = "0";  //审批类型  1：超期款审批；2：超额并且低于限价审批；3：超额审批；4：低于限价审批；	
	private String spr;        //审批人
	private Date spDate;    //审批时间
	private String spOpinion; //审批意见
	
	
	private String cxTel;      //查询电话
	private String jobNo;      //货单号
	private Date sendTime;   //发货时间
	
	//开票信息
	private String fplx;         //发票类型
	private String kpMc;         //开票名称
	private String kpAddress;   //开票地址
	private String kpDh;        //开票电话
	private String khhzh;        //开户行账号
	private String sh;           //税号
	private String fpxx;         //发票信息
	
	
	
	public String getFzr() {
		return fzr;
	}

	public void setFzr(String fzr) {
		this.fzr = fzr;
	}

	public String getClientName() {
		return clientName;
	}

	public void setClientName(String clientName) {
		this.clientName = clientName;
	}

	public String getSklx() {
		return sklx;
	}

	public void setSklx(String sklx) {
		this.sklx = sklx;
	}

	public String getSkfs() {
		return skfs;
	}

	public void setSkfs(String skfs) {
		this.skfs = skfs;
	}

	public String getPosId() {
		return posId;
	}

	public void setPosId(String posId) {
		this.posId = posId;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public double getYhje() {
		return yhje;
	}

	public void setYhje(double yhje) {
		this.yhje = yhje;
	}

	public double getXsdje() {
		return xsdje;
	}

	public void setXsdje(double xsdje) {
		this.xsdje = xsdje;
	}

	public double getXsdcbj() {
		return xsdcbj;
	}

	public void setXsdcbj(double xsdcbj) {
		this.xsdcbj = xsdcbj;
	}

	public double getSkje() {
		return skje;
	}

	public void setSkje(double skje) {
		this.skje = skje;
	}

	public String getSkzh() {
		return skzh;
	}

	public void setSkzh(String skzh) {
		this.skzh = skzh;
	}

	public String getSkxs() {
		return skxs;
	}

	public void setSkxs(String skxs) {
		this.skxs = skxs;
	}

	public Date getSkrq() {
		return skrq;
	}

	public void setSkrq(Date skrq) {
		this.skrq = skrq;
	}

	public Date getYsrq() {
		return ysrq;
	}

	public void setYsrq(Date ysrq) {
		this.ysrq = ysrq;
	}

	public String getMs() {
		return ms;
	}

	public void setMs(String ms) {
		this.ms = ms;
	}

	public String getCzr() {
		return czr;
	}

	public void setCzr(String czr) {
		this.czr = czr;
	}

	public String getKhAddress() {
		return khAddress;
	}

	public void setKhAddress(String khAddress) {
		this.khAddress = khAddress;
	}

	public String getKhLxr() {
		return khLxr;
	}

	public void setKhLxr(String khLxr) {
		this.khLxr = khLxr;
	}

	public String getKhLxdh() {
		return khLxdh;
	}

	public void setKhLxdh(String khLxdh) {
		this.khLxdh = khLxdh;
	}

	public String getStoreId() {
		return storeId;
	}

	public void setStoreId(String storeId) {
		this.storeId = storeId;
	}

	public String getCkJsr() {
		return ckJsr;
	}

	public void setCkJsr(String ckJsr) {
		this.ckJsr = ckJsr;
	}

	public Date getCkDate() {
		return ckDate;
	}

	public void setCkDate(Date ckDate) {
		this.ckDate = ckDate;
	}

	public String getYsfs() {
		return ysfs;
	}

	public void setYsfs(String ysfs) {
		this.ysfs = ysfs;
	}

	public double getXjd() {
		return xjd;
	}

	public void setXjd(double xjd) {
		this.xjd = xjd;
	}

	public double getYsje() {
		return ysje;
	}

	public void setYsje(double ysje) {
		this.ysje = ysje;
	}

	public int getZq() {
		return zq;
	}

	public void setZq(int zq) {
		this.zq = zq;
	}

	public double getSjcjje() {
		return sjcjje;
	}

	public void setSjcjje(double sjcjje) {
		this.sjcjje = sjcjje;
	}

	public String getThFlag() {
		return thFlag;
	}

	public void setThFlag(String thFlag) {
		this.thFlag = thFlag;
	}

	public Date getCzDate() {
		return czDate;
	}

	public void setCzDate(Date czDate) {
		this.czDate = czDate;
	}

	public double getXsdkhcb() {
		return xsdkhcb;
	}

	public void setXsdkhcb(double xsdkhcb) {
		this.xsdkhcb = xsdkhcb;
	}

	public String getSpState() {
		return spState;
	}

	public void setSpState(String spState) {
		this.spState = spState;
	}

	public String getSpType() {
		return spType;
	}

	public void setSpType(String spType) {
		this.spType = spType;
	}

	public String getSpr() {
		return spr;
	}

	public void setSpr(String spr) {
		this.spr = spr;
	}

	public Date getSpDate() {
		return spDate;
	}

	public void setSpDate(Date spDate) {
		this.spDate = spDate;
	}

	public String getSpOpinion() {
		return spOpinion;
	}

	public void setSpOpinion(String spOpinion) {
		this.spOpinion = spOpinion;
	}

	public String getCxTel() {
		return cxTel;
	}

	public void setCxTel(String cxTel) {
		this.cxTel = cxTel;
	}

	public String getJobNo() {
		return jobNo;
	}

	public void setJobNo(String jobNo) {
		this.jobNo = jobNo;
	}

	public Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public String getFplx() {
		return fplx;
	}

	public void setFplx(String fplx) {
		this.fplx = fplx;
	}

	public String getKpMc() {
		return kpMc;
	}

	public void setKpMc(String kpMc) {
		this.kpMc = kpMc;
	}

	public String getKpAddress() {
		return kpAddress;
	}

	public void setKpAddress(String kpAddress) {
		this.kpAddress = kpAddress;
	}

	public String getKpDh() {
		return kpDh;
	}

	public void setKpDh(String kpDh) {
		this.kpDh = kpDh;
	}

	public String getKhhzh() {
		return khhzh;
	}

	public void setKhhzh(String khhzh) {
		this.khhzh = khhzh;
	}

	public String getSh() {
		return sh;
	}

	public void setSh(String sh) {
		this.sh = sh;
	}

	public String getFpxx() {
		return fpxx;
	}

	public void setFpxx(String fpxx) {
		this.fpxx = fpxx;
	}

	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}
